package cn.xz.gobang.activity

import cn.xz.gobang.R
import cn.xz.gobang.base.BaseActivity
import cn.xz.gobang.bean.CommonLib
import cn.xz.gobang.databinding.ActivityMoreBinding
import cn.xz.gobang.util.ARouter

class MoreActivity: BaseActivity<ActivityMoreBinding>(R.layout.activity_more) {

    override fun initData() {
        super.initData()
        CommonLib.mFriends = arrayListOf()
    }

    override fun initEvent() {
        //去邀请
        mDataBind.addFriend.setOnClickListener {
            ARouter.to(StartPlayActivity::class.java)
        }
        //被邀请
        mDataBind.getFireng.setOnClickListener {
            ARouter.to(GetFriendActivity::class.java)
        }
    }
}